class AddSubjectWordTypeData < ActiveRecord::Migration
  def self.up
    SubjectWordType.create(:title => "自由词",
                            :encoding => "ZYC",
                            :about => "自然语言词汇，例如关键词")
    SubjectWordType.create(:title => "主题词",
                            :encoding => "ZTC",
                            :about => "中国图书馆分类主题词表，中国国家指定主题词表")
  end

  def self.down
  SubjectWordType.delete_all
  end
end
